# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=reptyr
pkgver=0.7.0
pkgrel=1
pkgdesc="Reparent a running program to a new terminal"
url="https://github.com/nelhage/reptyr"
arch="x86 x86_64 armhf armv7"
license="MIT"
makedepends="linux-headers bash-completion"
subpackages="$pkgname-doc"
source="https://github.com/nelhage/reptyr/archive/reptyr-$pkgver.tar.gz"
builddir="$srcdir/"reptyr-reptyr-$pkgver

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="d95a05634f7e4e55f487577baee50fc773f0d9957be5ac1a678bd0434baffd994c08a884496f6400ee101333c310eaaf2150f9053d3b4b6e525820a7ed24a8e6  reptyr-0.7.0.tar.gz"
